<?php echo $this->Form->Create(array("action" => "delete/" . $articleId)); ?>
<?php echo $this->Form->Input("article_id", array("type" => "hidden", "value" => $articleId)); ?>
<table>
	<tr>
		<th></th>
		<th>Name</th>
		<th>Message</th>
		<th>IP</th>
		<th>ID</th>
	</tr>
	<?php foreach($comments as $comment): ?>
	<tr>
		<td><?php echo $this->Form->checkbox('selectedComments.', array("value" => $comment['Comment']['id'], "hiddenField" => false)); ?></td>
		<td><?php echo Sanitize::html($comment['Comment']['name']); ?></td>
		<td><?php echo Sanitize::html($comment['Comment']['body']); ?></td>
		<td><?php echo $comment['Comment']['ip']; ?></td>
		<td><?php echo $comment['Comment']['id']; ?></td>
	</tr>
	<?php endforeach; ?>
</table>
<?php echo $this->Form->end("Delete Selected"); ?>